Is there a way of redirect the message from "reportLinkError" to a file

Hello,

Is there a way of redirecting the message from "reportLinkError" to a file rather than a message box?

Thank you,
Jim

//now do something useful with the object
Error=createLink_(arcObj,LinkModule,hTargetObj)
if (Error!=linkErrorNoError) { reportLinkError_(arcObj,hTargetObj,LinkModule,"",Error) }

SystemAdmin - Thu Oct 20 08:46:12 EDT 2011

Re: Is there a way of redirect the message from "reportLinkError" to a file
SystemAdmin - Thu Oct 20 08:55:17 EDT 2011

Please note that "reportLinkError_" is not a basic DXL function (a "perm") but included (maybe?) from lib\dxl\utils\linkops.dxl.

Ok, you if now look at the code for "reportLinkError_" then you will find a "confirm" dialog box. To get rid of this copy those functions you need from linkops.dxl to your own code and modify as needed (and do not anymore include the original linkops).

  • Pekka Mäkinen - http://www.softqa.eu/